<nav class="am-g am-g-fixed blog-fixed blog-nav">
<button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only blog-button" data-am-collapse="{target: '#blog-collapse'}" ><span class="am-sr-only">导航切换</span> <span class="am-icon-bars"></span></button>

  <div class="am-collapse am-topbar-collapse" id="blog-collapse">
    <ul class="am-nav am-nav-pills am-topbar-nav">
      <li <#if currentPostion?contains('首页')>class="am-active"</#if>><a href="${ctx!}/">首页</a></li>
      <li <#if currentPostion?contains('博客文章')>class="am-active"</#if>><a href="${ctx!}/blog/">博客文章</a></li>
      <li <#if currentPostion?contains('图片库')>class="am-active"</#if>><a href="">图片库</a></li>
      <li <#if currentPostion?contains('视频')>class="am-active"</#if>><a href="">视频</a></li>
      <li <#if currentPostion?contains('其他')>class="am-active"</#if>><a href="">其他</a></li>
    </ul>
    <form class="am-topbar-form am-topbar-right am-form-inline" role="search" action="${ctx!}/blog/">
      <div class="am-form-group">
        <input type="text" class="am-form-field am-input-sm" placeholder="搜索" name="search" value="${search!}">
      </div>
      <button class="am-btn  am-btn-default am-btn-success  am-icon-search" type="submit"></button>
    </form>
  </div>
</nav>